#include <iostream>

using std::cout;
using std::endl;


class B
{
    class A
    {

    private:
        int _a;
        friend class B;
    };

public:
    void func()
    {
        A a;
        cout << a._a <<endl;
    }

};

int main()
{

    return 0;
}

